home *** CD-ROM | disk | FTP | other *** search
Wrap
Text File | 2001-03-21 | 31.7 KB | 1,067 lines
;------------------------------------------------------------------------ ; ; Installation software for MDR INET_DIAL WWW Interface package ; ; $VER: INET_DIAL-Install 1.78 (21.03.01) ; ; ©Copyright 2001 MDR INTERFACES Ltd ; ;------------------------------------------------------------------------ ; (onerror (CLEANUP)) (set #wrongversion (cat "You have an old version of the program 'Installer' " "on your Amiga!\n\nThe installation procedure needs at least Installer 42.9.\n\n" "Please check your configuration!" )) (set #welcome (cat "\nWelcome to the the Installation of the MDR INET_DIAL WWW Interface Package!" )) (set #mdrdestdir-prompt "Please select the partition where the drawer 'MDR_INET' for the WWW Interface package should be created.") (set #mdrdestdir-help "Typically, 'Work:' is selected as destination.") (set #mdrbrow-prompt "Please select the Web Browser Programme.") (set #mdrbrow-help "Typically, 'AWEB3:AWEB-II' is selected if the AWEB-II Web Browser is used.") (set #mdrgenesis-prompt "Please select the Genesis Startup file.") (set #mdrgenesis-help "Typically, 'SYS:Internet/Genesis' is selected if the OS3.9 + Genesisprefs update Stack is used.") (set #mdrcable-prompt "Please select your Connection type.") (set #mdrcable-help "Typically, 'DIAL-UP Modem' is selected if you have a Dial up modem.") (set #mdrdestapa-prompt "Please select the Drawer where the APACHE Webserver is located.") (set #mdrdestapa-help "Typically, 'Work:Apache' is selected as location.") (set #mdrdestgg-prompt "Please select the Drawer where the GEEKS GADGETS are located.") (set #mdrdestgg-help "Typically, 'Work:GG' is selected as location.") (set #destdir-prompt "\nPlease select the Drawer where %s should be installed.\n") (set #destdir-help "If you have modified your installation, the Installer may not be able to find certain drawers. If you are not sure, keep with the default values.") (set #browser-prompt "\nPlease select which Internet Browser you intend to use with INET_DIAL") (set #browser-help "\nSelect the Internet Browser you wish to use. \n\nPlease remember to re-install INET_DIAL if you wish to change your Browser!") (set #stack-prompt "\nPlease select the TCP/IP stack installed on your Amiga") (set #stack-help "\nSelect the TCP/IP stack you wish to use. \n\nPlease remember to re-install INET_DIAL if you wish to change the stack!") (set #webserver-prompt "\nPlease select the Web Server software which you will use for CONTROL") (set #webserver-help "\nSelect the Web Server for the [optional] Control Applications. \n\nPlease remember to re-install INET_DIAL if you change your Web Server!") (set #mdrdir-info "the MDR_INET applications") (set #installing "Installing %s...") (set #no-diskspace "\nTo install the MDR INET_DIAL WWW Interface package into '%s', you need at least %ld bytes of free harddrive space!") (set #startup-prompt "\nSome lines need to be added to S:User-Startup for %s:\n\n%s") (set #startup-help "The WWW Interface package won't work correctly without these lines!") (set #ask-config "\nThe MDR INET_DIAL WWW Interface package has now been installed. Do you want to set up the configuration for it?") (set #ask-config-help "Without setting up the configuration after an installation or an update, you might run into problems later!") (set #prefsave-prompt "\nDo you want to keep the existing preferences for\n\n'%s'?") (set #prefsave-help "If you don't keep existing preferences, they will be overwritten with default values!") ; (set #vernum (getversion)) (set #os_ver (/ #vernum 65536)) (set #os_rev (- #vernum (* #os_ver 65536))) ; (set #invernum @installer-version) (set #in_ver (/ #invernum 65536)) (set #in_rev (- #invernum (* #in_ver 65536))) ; (if (>= #in_ver 44 ) ( (effect "center" "horizontal" $FF00FF $000000) )) ; ;------------------------------------------------------------------------ ; Cleanup any temporary mess we created (procedure CLEANUP ; Nothing to cleanup (delete (tackon @default-dest ".tempinstall") (all) (optional "force")) ) ; CLEANUP ;------------------------------------------------------------------------ ; Obtain an installation path (procedure GETPATH #gp_envname #gp_default #gp_remdir #gp_msg #gp_help (set #gp_res "") (while (= "" #gp_res) (set #gp_res #gp_default) (if (not (exists #gp_res (noreq))) ( (if (= #gp_res "Work:") ( (set #gp_res "") (set #gp_default @default-dest) ) ) ; if (if (<> "" #gp_envname) ( (set #gp_res (getenv (cat "MDR/Path_" #gp_envname))) (if (AND (<> "" #gp_res) #gp_remdir) ( ; Remove the "Internet" suffix (set #gp_res (pathonly #gp_res)) ) ) ; if ) ( (set #gp_res "") ) ) ; if ) ) ; if (if (OR (= "" #gp_res) (= @user-level 2)) ( ; We had a problem. So we need to ask the user! (set #gp_res (expandpath (askdir (prompt #gp_msg) (help #gp_help) (default #gp_default) ) ) ) ) ) ; if ; If the directory does not exist, retry! (if (<> "" #gp_res) ( (if (not (exists #gp_res (noreq))) (set #gp_res "") ) ; if ) ) ; if ) ; while ; return the result! (set #gp_res #gp_res) ) ; GETPATH ;------------------------------------------------------------------------ ; We can't handle this script without Installer 42.9 or better! (if (< @installer-version 2752521) ( (message #wrongversion) (exit (quiet)) ) ) ; ;------------------------------------------------------------------------ ; intro (message "\nINET_DIAL" "\n\nWWW Interface software" "\n\n ©2000 MDR Interfaces Ltd" "\nDanehill, Sussex, Great Britain" "\n\nAuthor: Richard de Rivaz" "\n\nwww.mdr.co.uk" "\ntel: +44(0)1825-790294" "\nFax: +44(0)1825-790119" (all)) ; (complete 2) ; (message "\n\nThis Installation Programme may be used for a" "\n\nFIRST TIME INSTALLATION" "\n\nor to" "\n\nUPGRADE an EXISTING INSTALLATION" "\n\n(not disturbing your existing settings!)" (all)) ; (complete 3) ; (message "\nThe MDR INET_DIAL WWW Interface software is integrated with a Web Browser and Mailer, providing WWW and remote computer connection software, as well as a `dial-in' server for remote computers." "\n\nBefore proceeding, please therefore ensure that you have the following software pre-installed" "\n\nYAM Mailer and AWEB-II, VOYAGER or IBROWSE Web Browsers (Registered)" "\nFor DIAL-UP connection AMITCP, MIAMI or MIAMI DeLuxe (Registered) or OS3.9 GENESiS TCP/IP Stacks"(all)) ; (message "\n\nDYNAMIC IP ADDRESSING" "\n\n\nPlease note that INET DIAL currently supports DIAL-UP DYNAMIC IP addressing with GENESIS, MIAMI & MIAMI DeLuxe TCP/IP Stacks." "\n\nDYNAMIC IP addressing is also supported with a Permanent Internet Connection." (all)) ; (complete 4) ; (message "\n\nPlease note that INET_DIAL can also provide a local and remote equipment control function using MDR, X-10 protocols and AREXX." "\n\nMDR and X-10 control devices are separately available from MDR." "\n\nTo be able to use this facility you will need to install the APACHE web server software and one additional serial port for each protocol." (all)) ; (message "\n\nINET_DIAL" "\n\nDOCUMENTATION" "\n\nFull Documentation is provided with this installation process. The files in HTML format are stored in MDR:DOCS/ and can be viewed using any Web Browser" (all)) ; (complete 6) ; (message "INET_DIAL LICENCE""\n\nPlease note that, whilst every effort has been made to ensure that this software operates correctly, the software is provided on an `as is' basis licenced to the user. " "No representations or warranties are made with respect to the accuracy, reliability, performance, currentness, or operation of this software and information, and all use is at your own risk." "Neither MDR nor the author can accept any liability whatsoever for loss or consequential loss either of data or physical damage arising from the use of this software. Please click on `PROCEED' if you accept the terms of this licence." (all)) ; (complete 8) ;------------------------------------------------------------------------ ; (set finstall 1) ; (welcome) ; (complete 22) ; ;------------------------------------------------------------------------ ; assume a new installation (set AddMDRAssign FALSE) (set IsUpdate FALSE) ; First find the MDR_INET base (set #mdrdirbase (GETPATH "WWW Internet Package" "Work:" TRUE #mdrdestdir-prompt #mdrdestdir-help)) ; We have to create a drawer "MDR_INET" there! (set #mdrdir (tackon #mdrdirbase "MDR_INET")) ; If this is a new installation, we check the diskspace! ( ; For a new setup, we should leave some space! (if (< (getdiskspace #mdrdirbase) 2000000) (abort (#no-diskspace #mdrdirbase 2000000)) ) ) ( (makedir #mdrdir (infos)) (makedir (tackon #mdrdir "PREFS") (infos)) (makedir (tackon #mdrdir "LOGS") (infos)) (makedir (tackon #mdrdir "LOCKS") (infos)) (makedir (tackon #mdrdir "BACKUP") (infos)) (makedir (tackon #mdrdir "DOCS") (infos)) (makedir (tackon #mdrdir "LOCALE") (infos)) (makedir (tackon #mdrdir "MAILSTORE") (infos)) (makedir (tackon #mdrdir "AUTHORISATION") (infos)) (makedir (tackon #mdrdir "AREXX") (infos)) (makedir (tackon #mdrdir "BIN") (infos)) (makedir (tackon #mdrdir "PRINTBUFFER") (infos)) (makedir (tackon #mdrdir "TCPIP") (infos)) (makedir (tackon #mdrdir "TCPIP/L") (infos)) (makedir (tackon #mdrdir "TCPIP/BIN") (infos)) (makedir (tackon #mdrdir "EVENTS") (infos)) (makedir "SYS:PREFS/ENV-ARCHIVE/SANA2" (infos)) ) (set @default-dest #mdrdir) ; ;------------------------------------------------------------------------ (set browser (askchoice (choices "AWEB-II" "IBROWSE" "VOYAGER") (prompt #browser-prompt) (help #browser-help) ) ) (if (= browser 0) (set mdrbrowser "AWEB-II")) (if (= browser 1) (set mdrbrowser "IBROWSE")) (if (= browser 2) (set mdrbrowser "VOYAGER")) ; (if (= browser 0) ( (set mdrbrowfile (ASKFILE (prompt #mdrbrow-prompt) (help #mdrbrow-help) (default "AWEB3:AWEB-II") ) ) ) ) ; (if (= browser 1) ( (set mdrbrowfile (ASKFILE (prompt #mdrbrow-prompt) (help #mdrbrow-help) (default "IBROWSE:Ibrowse") ) ) ) ) ; (if (= browser 2) ( (set mdrbrowfile (ASKFILE (prompt #mdrbrow-prompt) (help #mdrbrow-help) (default "VOYAGER:Voyager") ) ) ) ) ;------------------------------------------------------------------------ (set stack (askchoice (choices "AMITCP" "GENESIS" "MIAMI" "MIAMI DeLuxe") (prompt #stack-prompt) (help #stack-help) ) ) ; (if (= stack 0) ( (set mdrstack "AMITCP") (set mdrstick "not required") ) ) ; (if (= stack 1) ( (set mdrstack "GENESIS") (set mdrstick (ASKFILE (prompt #mdrgenesis-prompt) (help #mdrgenesis-help) (default "SYS:Internet/Genesis/Genesis") ) ) ) ) ; (if (= stack 2) ( (set mdrstack "MIAMI") (set mdrstick "not required") ) ) ; (if (= stack 3) ( (set mdrstack "MIAMI DeLuxe") (set mdrstick "not required") ) ) ;------------------------------------------------------------------------ (set webserver (askchoice (choices "none" "APACHE") (prompt #webserver-prompt) (help #webserver-help) ) ) ;------------------------------------------------------------------------ (set cable (askchoice (choices "Dial-up Modem connection" "Permanent Connection (LAN)") (prompt #cable-prompt) (help #cable-help) ) ) ; (if (= cable 0) (set mdrcable "Dial-up") ) ; (if (= cable 1) (set mdrcable "Permanent") ) ;------------------------------------------------------------------------ (if (= webserver 0) ( (set mdrwebserver "none installed") (message "\n\nYou have selected\n\nWeb Browser = " mdrbrowser "\nWeb Browser location = " mdrbrowfile "\nTCP/IP Stack = " mdrstack "\nStack location = " mdrstick "\nWeb Server = " mdrwebserver "\nConnection type = " mdrcable "\nLocation of files = " #mdrdir "/" (all)) ) ) ; (if (= webserver 1) ( (set mdrwebserver "APACHE") (set #mdrapabase (GETPATH "WWW Internet Package" "Work:Apache" TRUE #mdrdestapa-prompt #mdrdestapa-help)) (set #mdrggbase (GETPATH "WWW Internet Package" "Work:GG" TRUE #mdrdestgg-prompt #mdrdestgg-help)) (message "\n\nYou have selected\n\nWeb Browser = " mdrbrowser "\nWeb Browser location = " mdrbrowfile "\nTCP/IP Stack = " mdrstack "\nStack location = " mdrstick "\nWeb Server = " mdrwebserver "\nWebserver location = " #mdrapabase "\nConnection type = " mdrcable "\nGeeks Gadgets location = " #mdrggbase "\nLocation of files = " #mdrdir "/" (all)) ) ) ;------------------------------------------------------------------------ ; (message "\n\n\n\nthe MDR INET_DIAL WWW Interface files will now be copied" (all)) ; ; (complete 24) ; (working (#installing "Read_Me!")) (copyfiles (source "Read_me!") (dest (tackon #mdrdir "" (infos))) (optional "force" "askuser") ) ; (working (#installing "Apache_Read_Me!")) (copyfiles (source "Apache_Read_me!") (dest (tackon #mdrdir "" (infos))) (optional "force" "askuser") ) ; (complete 26) ; (working (#installing "Inet_dial")) (copyfiles (source "BIN/Inet_dial") (dest (tackon #mdrdir "BIN" (infos))) (optional "force" "askuser") ) ; (working (#installing "MDRSocket")) (copyfiles (source "BIN/MDRSocket") (dest (tackon #mdrdir "BIN" (infos))) (optional "force" "askuser") ) ; (working (#installing "Mapdevice")) (copyfiles (source "BIN/Mapdevice") (dest (tackon #mdrdir "BIN" (infos))) (optional "force" "askuser") ) ; (complete 27) ; (working (#installing "MDRArexx")) (copyfiles (source "BIN/MDRArexx") (dest (tackon #mdrdir "BIN" (infos))) (optional "force" "askuser") ) ; (complete 28) ; (working (#installing "AutoMail")) (copyfiles (source "BIN/AutoMail") (dest (tackon #mdrdir "BIN") (infos)) (optional "force" "askuser") ) ; (working (#installing "INET DIAL English text")) (copyfiles (source "LOCALE/Inet_dial.english") (dest (tackon #mdrdir "LOCALE") (infos)) (optional "force" "askuser") ) ; (working (#installing "INET DIAL German text")) (copyfiles (source "LOCALE/Inet_dial.deutsch") (dest (tackon #mdrdir "LOCALE") (infos)) (optional "force" "askuser") ) ; (working (#installing "AutoMail English text")) (copyfiles (source "LOCALE/AutoMail.english") (dest (tackon #mdrdir "LOCALE") (infos)) (optional "force" "askuser") ) ; (working (#installing "AutoMail German text")) (copyfiles (source "LOCALE/AutoMail.deutsch") (dest (tackon #mdrdir "LOCALE") (infos)) (optional "force" "askuser") ) ; (working (#installing "MDRArexx English text")) (copyfiles (source "LOCALE/MDRArexx.english") (dest (tackon #mdrdir "LOCALE") (infos)) (optional "force" "askuser") ) ; (working (#installing "MDRArexx German text")) (copyfiles (source "LOCALE/MDRArexx.deutsch") (dest (tackon #mdrdir "LOCALE") (infos)) (optional "force" "askuser") ) ; (complete 30) ; (working (#installing "MDRBackup")) (copyfiles (source "BIN/MDRBackup") (dest (tackon #mdrdir "BIN" (infos))) (optional "force" "askuser") ) ; (complete 32) ; (working (#installing "chown")) (copyfiles (source "BIN/chown") (dest (tackon #mdrdir "BIN")) (optional "force" "askuser") ) ; (complete 34) ; (working (#installing "chmod")) (copyfiles (source "BIN/chmod") (dest (tackon #mdrdir "BIN")) (optional "force" "askuser") ) ; (complete 36) ; (working (#installing "mapdevice")) (copyfiles (source "BIN/mapdevice") (dest (tackon #mdrdir "BIN")) (optional "force" "askuser") ) ; (complete 38) ; (working (#installing "mdr_reboot")) (copyfiles (source "BIN/mdr_reboot") (dest (tackon #mdrdir "BIN")) (optional "force" "askuser") ) ; (complete 40) ; (if (= stack 1) ( (working (#installing "send_now! (MIAMI)")) (copyfiles (source "BIN/MIAMI/send_now!.MIAMI") (dest (tackon #mdrdir "BIN") (infos)) (optional "force" "askuser") ) ) ) ; (if (= stack 2) ( (working (#installing "send_now! (MIAMIDX)")) (copyfiles (source "BIN/MIAMI/send_now!.MIAMIDX") (dest (tackon #mdrdir "BIN") (infos)) (optional "force" "askuser") ) ) ) ; (if (= stack 0) ( (working (#installing "send_now! (AMITCP)")) (copyfiles (source "BIN/AMITCP/send_now!") (dest (tackon #mdrdir "BIN") (infos)) (optional "force" "askuser") ) ) ) ; (complete 42) ; (working (#installing "Inet_dial_connect.awebrx")) (copyfiles (source "AREXX/Inet_dial_connect.awebrx") (dest (tackon #mdrdir "AREXX")) (optional "force" "askuser") ) ; (complete 44) ; (working (#installing "Inet_dial_disconnect.awebrx")) (copyfiles (source "AREXX/Inet_dial_disconnect.awebrx") (dest (tackon #mdrdir "AREXX")) (optional "force" "askuser") ) ; (complete 46) ; (working (#installing "Inet_dial_quit.awebrx")) (copyfiles (source "AREXX/Inet_dial_quit.awebrx") (dest (tackon #mdrdir "AREXX")) (optional "force" "askuser") ) ; (complete 48) (working (#installing "mdr_mailrefresh.awebrx")) (copyfiles (source "AREXX/mdr_mailrefresh.awebrx") (dest (tackon #mdrdir "AREXX")) (optional "force" "askuser") ) ; (working (#installing "mdr_controlrefresh.awebrx")) (copyfiles (source "AREXX/mdr_controlrefresh.awebrx") (dest (tackon #mdrdir "AREXX")) (optional "force" "askuser") ) ; (working (#installing "mdr_logonrefresh.awebrx")) (copyfiles (source "AREXX/mdr_logonrefresh.awebrx") (dest (tackon #mdrdir "AREXX")) (optional "force" "askuser") ) ; (working (#installing "mdr_logoutrefresh.awebrx")) (copyfiles (source "AREXX/mdr_logoutrefresh.awebrx") (dest (tackon #mdrdir "AREXX")) (optional "force" "askuser") ) ; (complete 49) (working (#installing "mdr_videorefresh.awebrx")) (copyfiles (source "AREXX/mdr_videorefresh.awebrx") (dest (tackon #mdrdir "AREXX")) (optional "force" "askuser") ) ; (complete 50) (working (#installing "mdr_eventrefresh.awebrx")) (copyfiles (source "AREXX/mdr_eventrefresh.awebrx") (dest (tackon #mdrdir "AREXX")) (optional "force" "askuser") ) ; (complete 51) (working (#installing "mdr_settingsrefresh.awebrx")) (copyfiles (source "AREXX/mdr_settingsrefresh.awebrx") (dest (tackon #mdrdir "AREXX")) (optional "force" "askuser") ) ; (complete 52) (working (#installing "mdr_refresh.awebrx")) (copyfiles (source "AREXX/mdr_refresh.awebrx") (dest (tackon #mdrdir "AREXX")) (optional "force" "askuser") ) ; (complete 53) (working (#installing "mdr_settings.awebrx")) (copyfiles (source "AREXX/mdr_settings.awebrx") (dest (tackon #mdrdir "AREXX")) (optional "force" "askuser") ) ; (complete 54) (working (#installing "mdr_setvideo.awebrx")) (copyfiles (source "AREXX/mdr_setvideo.awebrx") (dest (tackon #mdrdir "AREXX")) (optional "force" "askuser") ) ; (complete 56) ; (working (#installing "mdr_register.awebrx")) (copyfiles (source "AREXX/mdr_register.awebrx") (dest (tackon #mdrdir "AREXX")) (optional "force" "askuser") ) ; (complete 58) ; (working (#installing "killhandler")) (copyfiles (source "TCPIP/killhandler") (dest (tackon #mdrdir "TCPIP")) (optional "force" "askuser") ) ; (complete 60) ; (working (#installing "letnet")) (copyfiles (source "TCPIP/letnet") (dest (tackon #mdrdir "TCPIP/BIN")) (optional "force" "askuser") ) ; (complete 62) ; (working (#installing "netfs-handler")) (copyfiles (source "TCPIP/netfs-handler") (dest (tackon #mdrdir "TCPIP/L")) (optional "force" "askuser") ) ; (complete 64) ; (working (#installing "netfs-server")) (copyfiles (source "TCPIP/netfs-server") (dest (tackon #mdrdir "TCPIP")) (optional "force" "askuser") ) ; (complete 66) ; (working (#installing "netmount")) (copyfiles (source "TCPIP/netmount") (dest (tackon #mdrdir "TCPIP")) (optional "force" "askuser") ) ; (complete 68) ; (working (#installing "remoteview")) (copyfiles (source "TCPIP/remoteview") (dest (tackon #mdrdir "TCPIP")) (optional "force" "askuser") ) ; (complete 69) ; (working (#installing "rhcslip.device")) (copyfiles (source "TCPIP/rhcslip.device") (dest (tackon #mdrdir "TCPIP")) (optional "force" "askuser") ) ; (complete 70) ; (working (#installing "remotecli")) (copyfiles (source "TCPIP/remotecli") (dest (tackon #mdrdir "TCPIP")) (optional "force" "askuser") ) ; (working (#installing "remoteprint")) (copyfiles (source "TCPIP/remoteprint") (dest (tackon #mdrdir "TCPIP")) (optional "force" "askuser") ) ; (complete 71) ; (working (#installing "remotearexx")) (copyfiles (source "TCPIP/remotearexx") (dest (tackon #mdrdir "TCPIP")) (optional "force" "askuser") ) ; (complete 72) ; ( (working (#installing "Configuration file")) (copyfiles (source "PREFS/mdr_internet") (dest (tackon #mdrdir "PREFS")) (optional "force" "askuser") ) ) ; (complete 73) ; (working (#installing "documentation")) (copyfiles (source "DOCS/mdr_inet_dial.html") (dest (tackon #mdrdir "DOCS")) (optional "force" "askuser") ) ; (working (#installing "AmigActive logo")) (copyfiles (source "DOCS/AAbutton1anim2.gif") (dest (tackon #mdrdir "DOCS")) (optional "force" "askuser") ) ; (copyfiles (source "DOCS/Logo_40wht.gif") (dest (tackon #mdrdir "DOCS")) (optional "force" "askuser") ) ; (copyfiles (source "DOCS/mdr_unavailable.html") (dest (tackon #mdrdir "DOCS")) (optional "force" "askuser") ) ; ; (copyfiles (source "DOCS/vh40.png") (dest (tackon #mdrdir "DOCS")) (optional "force" "askuser") ) ; (complete 74) ; (working (#installing "inet_dial_netfs.jpg")) (copyfiles (source "DOCS/inet_dial_netfs.jpg") (dest (tackon #mdrdir "DOCS")) (optional "force" "askuser") ) ; (working (#installing "inet_dial_ezp.jpg")) (copyfiles (source "DOCS/inet_dial_ezp.jpg") (dest (tackon #mdrdir "DOCS")) (optional "force" "askuser") ) ; (working (#installing "inet_dial_samba.jpg")) (copyfiles (source "DOCS/inet_dial_samba.jpg") (dest (tackon #mdrdir "DOCS")) (optional "force" "askuser") ) ; (complete 75) ; (working (#installing "inet_dial_www.jpg")) (copyfiles (source "DOCS/inet_dial_www.jpg") (dest (tackon #mdrdir "DOCS")) (optional "force" "askuser") ) ; (complete 76) ; (working (#installing "inet_dial_status.jpg")) (copyfiles (source "DOCS/inet_dial_status.jpg") (dest (tackon #mdrdir "DOCS")) (optional "force" "askuser") ) ; (complete 77) ; (working (#installing "inet_dial_settings.jpg")) (copyfiles (source "DOCS/inet_dial_settings.jpg") (dest (tackon #mdrdir "DOCS")) (optional "force" "askuser") ) ; (complete 78) ; (working (#installing "inet_dial_mail.jpg")) (copyfiles (source "DOCS/inet_dial_mail.jpg") (dest (tackon #mdrdir "DOCS")) (optional "force" "askuser") ) ; (complete 79) ; (working (#installing "inet_dial_control.jpg")) (copyfiles (source "DOCS/inet_dial_control.jpg") (dest (tackon #mdrdir "DOCS")) (optional "force" "askuser") ) ; (complete 80) ; (working (#installing "mdr.jpg")) (copyfiles (source "DOCS/mdr.jpg") (dest (tackon #mdrdir "DOCS")) (optional "force" "askuser") ) ; (complete 82) ; (working (#installing "mdr_inet_dial.jpg")) (copyfiles (source "DOCS/mdr_inet_dial.jpg") (dest (tackon #mdrdir "DOCS")) (optional "force" "askuser") ) ; (complete 84) ; (working (#installing "apache.gif")) (copyfiles (source "DOCS/apache.gif") (dest (tackon #mdrdir "DOCS")) (optional "force" "askuser") ) ; (complete 86) ; (working (#installing "copyright notice")) (copyfiles (source "DOCS/copyrights") (dest (tackon #mdrdir "DOCS")) (optional "force" "askuser") ) ; (complete 88) ; (working (#installing "Picture")) (copyfiles (source "DOCS/trossi1.jpg") (dest (tackon #mdrdir "DOCS")) (optional "force" "askuser") ) ; (complete 90) ; ;------------------------------------------------------------------------ ;create assign if does not exist ; (if (= "" (getassign "MDR" "adv")) (Set AddMDRAssign TRUE) ) ; if ; (if AddMDRAssign ( (makeassign "MDR" #mdrdir) (makeassign "DSERVER" #mdrdirbase) ) ) ; (complete 92) ; (if (= stack 0) ( (set cmd (cat "Assign MDR: \"" #mdrdir "\"\nPath MDR:BIN ADD" "\npath add AMITCP:bin" "\necho starting AMITCP" "\nexecute AMITCP:bin/startnet" "\nwait 5")) (startup " ©2001 MDR Interfaces Ltd - TCP/IP STACK - startup #1" (prompt (#startup-prompt "Startup of AMITCP TCP/IP Stack" cmd)) (help #startup-help) (command cmd) ) ) ) ; (if (= stack 1) ( (set cmd (cat "Assign MDR: \"" #mdrdir "\"\nPath MDR:BIN ADD" "\nPath AMITCP:BIN ADD" "\necho starting GENESIS" "\nrun >NIL: " mdrstick "\nwait 5")) (startup " ©2001 MDR Interfaces Ltd - TCP/IP STACK - startup #1" (prompt (#startup-prompt "Startup of Genesis TCP/IP Stack" cmd)) (help #startup-help) (command cmd) ) ) ) ; (if (= stack 2) ( (set cmd (cat "Assign MDR: \"" #mdrdir "\"\nPath MDR:BIN ADD" "\nAssign AMITCP: MDR:TCPIP" "\npath add AMITCP:bin" "\necho starting MIAMI" "\nrun >NIL: miami:miami" "\nwait 5")) (startup " ©2001 MDR Interfaces Ltd - TCP/IP STACK - startup #1" (prompt (#startup-prompt "Startup of MIAMI TCP/IP Stack" cmd)) (help #startup-help) (command cmd) ) ) ) ; (if (= stack 3) ( (set cmd (cat "Assign MDR: \"" #mdrdir "\"\nPath MDR:BIN ADD" "\nAssign AMITCP: MDR:TCPIP" "\npath add AMITCP:bin" "\necho starting MIAMI DeLuxe" "\nrun >NIL: miami:miamidx" "\nwait 5")) (startup " ©2001 MDR Interfaces Ltd - TCP/IP STACK - startup #1" (prompt (#startup-prompt "Startup of MIAMI DeLuxe TCP/IP Stack" cmd)) (help #startup-help) (command cmd) ) ) ) ; (if (= webserver 1) ( (set cmd (cat "assign APACHE: " #mdrapabase "\nassign HTTP: APACHE:" "\nc:resident apache:bin/httpd pure" "\nif exists sys:s/delete_http_access.log" "\n echo deleting HTTP Access.log" "\n delete sys:s/delete_http_access.log" "\n if exists http:logs/access.log" "\n delete http:logs/access.log" "\n endif" "\nendif" "\nif exists sys:s/delete_http_error.log" "\n echo deleting HTTP Error.log" "\n delete sys:s/delete_http_error.log" "\n if exists http:logs/error.log" "\n delete http:logs/error.log" "\n endif" "\nendif" "\nassign GG: " #mdrggbase "\necho starting GEEK GADGETS" "\nrun >NIL: execute GG:sys/s/gg-startup" "\nwait 5" "\necho starting APACHE" "\nrun >NIL: rx apache:bin/starthttpd" "\nwait 5")) (startup " ©2001 MDR Interfaces Ltd - APACHE & GEEK GADGETS - startup #2" (prompt (#startup-prompt "Startup of the APACHE WEBSERVER & GEEK GADGETS" cmd)) (help #startup-help) (command cmd) ) ) ) ; (if (= webserver 0) ( (set cmd (cat "echo no webserver installed" "\nwait 5")) (startup " ©2001 MDR Interfaces Ltd - APACHE & GEEK GADGETS - startup #2" (prompt (#startup-prompt "Startup of the APACHE WEBSERVER & GEEK GADGETS" cmd)) (help #startup-help) (command cmd) ) ) ) ; (if (= stack 2) ( (set cmd (cat "stack 100000" "\nwait 5" "\necho starting YAM" "\nrun >NIL: YAM:YAM" "\nwait 5" "\necho starting INET_DIAL" "\nRun >NIL: MDR:BIN/Inet_Dial")) (startup " ©2001 MDR Interfaces Ltd - INET DIAL - startup #3" (prompt (#startup-prompt "Startup of INET_DIAL" cmd)) (help #startup-help) (command cmd) ) ) ) ; (complete 94) ; (if (= stack 3) ( (set cmd (cat "stack 100000" "\nwait 5" "\necho starting YAM" "\nrun >NIL: YAM:YAM" "\nwait 5" "\necho starting INET_DIAL" "\nRun >NIL: MDR:BIN/Inet_Dial")) (startup " ©2001 MDR Interfaces Ltd - INET DIAL - startup #3" (prompt (#startup-prompt "Startup of INET_DIAL" cmd)) (help #startup-help) (command cmd) ) ) ) ; (complete 95) ; (if (= stack 1) ( (set cmd (cat "stack 100000" "\necho starting YAM" "\nrun >NIL: YAM:YAM" "\nwait 5" "\necho starting INET_DIAL" "\nRun >NIL: MDR:BIN/Inet_Dial")) (startup " ©2001 MDR Interfaces Ltd - INET DIAL - startup #3" (prompt (#startup-prompt "Startup of INET_DIAL" cmd)) (help #startup-help) (command cmd) ) ) ) ; (if (= stack 0) ( (set cmd (cat "stack 100000" "\necho starting YAM" "\nrun >NIL: YAM:YAM" "\nwait 5" "\necho starting INET_DIAL" "\nRun >NIL: MDR:BIN/Inet_Dial")) (startup " ©2001 MDR Interfaces Ltd - INET DIAL - startup #3" (prompt (#startup-prompt "Startup of INET_DIAL" cmd)) (help #startup-help) (command cmd) ) ) ) ; ; (complete 96) ; ;------------------------------------------------------------------------ ; Finally create some information about INET_DIAL ; (makedir "ENV:MDR" (infos)) (makedir "ENVARC:MDR" (infos)) (textfile (dest "ENV:MDR/Cable_MDR") (append mdrcable)) (textfile (dest "ENVARC:MDR/Cable_MDR") (append mdrcable)) (textfile (dest "ENV:MDR/Stack_MDR") (append mdrstack)) (textfile (dest "ENVARC:MDR/Stack_MDR") (append mdrstack)) (textfile (dest "ENV:MDR/Browser_MDR") (append mdrbrowser)) (textfile (dest "ENVARC:MDR/Browser_MDR") (append mdrbrowser)) (textfile (dest "ENV:MDR/Browfile_MDR") (append mdrbrowfile)) (textfile (dest "ENVARC:MDR/Browfile_MDR") (append mdrbrowfile)) (textfile (dest "ENV:MDR/Server_MDR") (append mdrwebserver)) (textfile (dest "ENVARC:MDR/Server_MDR") (append mdrwebserver)) (complete 97) ; (message "\nINET_DIAL is shareware. Please register for support and access to all functions." "\n\nUnregistered users are restricted to WWW and remote computer access and automatic mailchecking. The software is not time limited." "\n\nPlease send any bug reports to bug-report@mdr.co.uk quoting INET_DIAL serial number. Please direct any suggestions for further development to suggestions@mdr.co.uk subject 'inet_dial'." "\n\nenjoy!" (all)) (complete 98) (message "\n\nINET_DIAL will be automatically started by the file `s:user-startup' after a reboot." "\n\nFirst time users will then be invited to configure their system.""\n\nTo start INET_DIAL please therefore remove all removeable disks from your computer and reboot after exiting installer!" (all)) (complete 100) ;------------------------------------------------------------------------ ; (CLEANUP) (exit) ; ;------------------------------------------------------------------------ ; ; *** EOT *** ;------------------------------------------------------------------------ ;